package ch.myrss.client.models;

import java.util.Date;

import com.google.gwt.user.client.rpc.IsSerializable;

public class RSSItem implements IsSerializable {

    public int rssid;
    public int fid;
    public String title;
    public String description;
    public String link;
    public Date pubdate;
    public String author;
    
    public RSSItem() {
	
    }

    public RSSItem(int rssid, int fid, String title, String description,
	    String link, Date pubdate, String author) {
	this.rssid = rssid;
	this.fid = fid;
	this.title = title;
	this.description = description;
	this.link = link;
	this.pubdate = pubdate;
	this.author = author;
    }

    public String getAuthor() {
	return author;
    }

    public String getDescription() {
	return description;
    }

    public int getFid() {
	return fid;
    }

    public String getLink() {
	return link;
    }

    public Date getPubdate() {
	return pubdate;
    }

    public int getRssid() {
	return rssid;
    }

    public String getTitle() {
	return title;
    }

    public void setAuthor(String author) {
	this.author = author;
    }

    public void setDescription(String description) {
	this.description = description;
    }

    public void setFid(int fid) {
	this.fid = fid;
    }

    public void setLink(String link) {
	this.link = link;
    }

    public void setPubdate(Date pubdate) {
	this.pubdate = pubdate;
    }

    public void setRssid(int rssid) {
	this.rssid = rssid;
    }

    public void setTitle(String title) {
	this.title = title;
    }

}
